<?php
// +----------------------------------------------------------------------
// | sfadmin - Suifeng Administration
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://suifeng.tech All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: suifeng <1787585212@qq.com>
// +----------------------------------------------------------------------

namespace suifeng\builder\form\control;

use suifeng\builder\form\Control;

class Media extends File
{
    /**
     * 上传类型。
     *
     * @var unknown
     */
    public $upload_type = 'media';

    /**
     * 允许的文件类型。
     *
     * @var unknown
     */
    public $file_exts = 'swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb,mp4';

    /**
     * 上传按钮文字。
     *
     * @var string
     */
    public $button_text = '上传视频';
}

?>
